package com.hs.srm.admin.modules.orders.vo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hs.srm.base.common.base.CloneableEntity;

@Setter
@Getter
@ToString
public class StockItemVO implements Serializable, CloneableEntity<StockItemVO> {

	private static final long serialVersionUID = 6385609055938468948L;

	/**
	 * 克隆当前对象
	 * @return
	 */
	@Override
	public StockItemVO clone() {
		try {
			return (StockItemVO)super.clone();
		} catch(CloneNotSupportedException ex) {
			ex.printStackTrace();
		}
		return null;
	}

	private String poNo;
	private String deliverNo;
	private String stockId;
	private String itemNo;
	private String requester;
	private String poType;

	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@JSONField(format = "yyyy-MM-dd")
	private Date stockTime;

	private BigDecimal shippedQty;
	private BigDecimal poPrice;
	private String materialCode;
	private String materialDesc;

}
